package org.springframework.core.convert.support;

import org.springframework.core.convert.converter.Converter;

/**
 * @Name StringToIntegerConverter
 * @Description: String -> Integer 基础类型转换器 [实现] 类
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-04-11 15:54:19
 **/
public class StringToIntegerConverter implements Converter<String, Integer> {
    @Override
    public Integer convert(String source) {
        return Integer.valueOf(source);
    }
}

